package com.edu.service;

import java.util.List;

import com.edu.entity.PageBean;
import com.edu.entity.User;
import com.edu.entity.shopDingdong;

public interface UserBackgroundService {
	public PageBean<User> queryUser(int currentPageNum,int pageSize,String tableName);
	public int count(String tableName);
	public boolean addUser(User user);
	public boolean addShop(shopDingdong shop);//添加商品
	public boolean updateUserById(User user);//用户修改
	public boolean updateShopById(shopDingdong shop);//商品修改
	public boolean deleteId(int userId,String tableId,String tableName);
	public boolean updateById(User user);
	public PageBean<shopDingdong> queryShop(int currentPageNum,int pageSize,String tableName);
	public PageBean<User> selectByUser(User user,int currentPageNum,int pageSize);
	public PageBean<shopDingdong> selectByShop(shopDingdong shop,int currentPageNum,int pageSize);
}
